package com.ebao.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 公共属性
 * 
 * 比如小贴士的类别可以存入此表，不用单独建表
 * 
 * @author snow
 * @Date 2012-9-10
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_Common_Attribute")
public class TCommonAttribute implements Serializable {

	private Long id;
	private String attrName;	// 属性名称
	private String attrValue;	// 属性值
	private Integer status;		// 状态,0正常,1已删除

	@Id
	@GeneratedValue
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAttrName() {
		return attrName;
	}

	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}

	public String getAttrValue() {
		return attrValue;
	}

	public void setAttrValue(String attrValue) {
		this.attrValue = attrValue;
	}

	@Column(length = 1)
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
